/**
 * output package name
 */
package com.kingdee.eas.mx.basedata.enums;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class SourceContractEnum extends StringEnum
{
    public static final String SALECONTRACT_VALUE = "1";
    public static final String PURCONTRACT_VALUE = "2";
    public static final String PURINVOICE_VALUE = "3";
    public static final String CARGOLIST_VALUE = "4";
    public static final String OTHERINVOICE_VALUE = "5";
    public static final String COMMERCIALINV_VALUE = "6";
    public static final String PREMIUMINVOICE_VALUE = "7";
    public static final String RINVOICE_VALUE = "8";

    public static final SourceContractEnum saleContract = new SourceContractEnum("saleContract", SALECONTRACT_VALUE);
    public static final SourceContractEnum purContract = new SourceContractEnum("purContract", PURCONTRACT_VALUE);
    public static final SourceContractEnum purInvoice = new SourceContractEnum("purInvoice", PURINVOICE_VALUE);
    public static final SourceContractEnum cargoList = new SourceContractEnum("cargoList", CARGOLIST_VALUE);
    public static final SourceContractEnum otherInvoice = new SourceContractEnum("otherInvoice", OTHERINVOICE_VALUE);
    public static final SourceContractEnum commercialInv = new SourceContractEnum("commercialInv", COMMERCIALINV_VALUE);
    public static final SourceContractEnum premiumInvoice = new SourceContractEnum("premiumInvoice", PREMIUMINVOICE_VALUE);
    public static final SourceContractEnum rInvoice = new SourceContractEnum("rInvoice", RINVOICE_VALUE);

    /**
     * construct function
     * @param String sourceContractEnum
     */
    private SourceContractEnum(String name, String sourceContractEnum)
    {
        super(name, sourceContractEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static SourceContractEnum getEnum(String sourceContractEnum)
    {
        return (SourceContractEnum)getEnum(SourceContractEnum.class, sourceContractEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(SourceContractEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(SourceContractEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(SourceContractEnum.class);
    }
}